<?php /* Smarty version Smarty-3.1.6, created on 2017-04-26 19:08:48
         compiled from "D:/test.cn/Test/Admin/View\Role\role.html" */ ?>
<?php /*%%SmartyHeaderCode:2317158ff182ce02503-73569251%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b0d337ec798f70c7a3ac5b4e786a6369a09b2670' => 
    array (
      0 => 'D:/test.cn/Test/Admin/View\\Role\\role.html',
      1 => 1493204905,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2317158ff182ce02503-73569251',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_58ff182cebcce',
  'variables' => 
  array (
    'info' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58ff182cebcce')) {function content_58ff182cebcce($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>《C语言程序设计》在线考试系统- 角色管理 </title>
<meta name="Copyright" content="Douco Design." />
<link href="<?php echo @Admin_URL;?>
css/public.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo @Admin_URL;?>
js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo @Admin_URL;?>
js/global.js"></script>
</head>
<?php echo $_smarty_tpl->getSubTemplate ("../Index/top.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

 <div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">题库首页<b>></b><strong>角色管理</strong> </div>  
 <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3>角色管理</h3>
        <table width="40%" border="0" cellpadding="8" cellspacing="0" class="tableBasic" >
     <tr>
      <th width="30" align="center">编号</th>
      <th align="center">角色名称</th>
      <th align="center">操作</th>
     </tr>
          <?php  $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['info']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['i']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['i']->key => $_smarty_tpl->tpl_vars['i']->value){
$_smarty_tpl->tpl_vars['i']->_loop = true;
 $_smarty_tpl->tpl_vars['i']->iteration++;
?>
          <tr>
      <td align="center"><?php echo $_smarty_tpl->tpl_vars['i']->iteration;?>
</td>
      <td align="center"><?php echo $_smarty_tpl->tpl_vars['i']->value['role_name'];?>
</td>
      <td align="center"><a href="<?php echo @__MODULE__;?>
/Role/auth.html?rec=edit&id=<?php echo $_smarty_tpl->tpl_vars['i']->value['role_id'];?>
">权限</a> | <a href="<?php echo @__CONTROLLER__;?>
/del/id/<?php echo $_smarty_tpl->tpl_vars['i']->value['role_id'];?>
">删除</a></td>
     </tr>
     <?php } ?>
         </table>
         <div class="items" style="margin-top:20px;">
		<form action="<?php echo @__SELF__;?>
" method="post"
			enctype="multipart/form-data">
			<div id="main">
				<table width="40%" border="0" cellpadding="8" cellspacing="0"
					class="tableBasic">
					<tr>
						<td>添加角色：<input type="text" name="role_name"
							value="" placeholder="请输入角色" class="inpMain" /></td>
							<td>
							<input class="btn" type="submit" value="提交" />
						</td>
					</tr>
					</table>
				</div>
	</div>
 </div>
 </div>
 <div class="clear"></div>
<div id="dcFooter">
 <div id="footer">
  <div class="line"></div>
  <ul>
 《C语言程序设计》在线考试系统，版权所有
  </ul>
 </div>
</div><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html><?php }} ?>